<%--
  Created by IntelliJ IDEA.
  User: 王室淇
  Date: 2022/3/10
  Time: 14:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table style="border: 1px skyblue solid; background: skyblue; width:500px; height: auto">
        <tr>
            <td>stuid</td>
            <td>名字</td>
            <td>年龄</td>
            <td>性别</td>
        </tr>
    <c:forEach items="${All}" var="stu">
        <tr>
            <td>${stu.stuid}</td>
            <td>${stu.name}</td>
            <td>${stu.age}</td>
            <td>${stu.sex == 0?"男":"女"}</td>
        </tr>
    </c:forEach>

    </table>


</body>
</html>
